package cn.scw.project.goods.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @description:
 * @author: lj
 * @create: 2020-05-25
 **/
@Data
@ApiModel("商品订单vo")
public class GCommodityOrderVo {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("订单编号")
    private String number;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("订单金额")
    private Double money;
    @ApiModelProperty("实付金额")
    private Double payMoney;
    @ApiModelProperty("订单状态（待付款，待发货，待收货，已完成，售后/退换）")
    private String statusCode;
    @ApiModelProperty("订单状态")
    private String statusValue;
    @ApiModelProperty("优惠券id")
    private Long couponId;
    @ApiModelProperty("是否支付")
    private Boolean isPay;
    @ApiModelProperty("支付方式（0余额支付，1微信支付）")
    private String payType;
    @ApiModelProperty("支付方式")
    private String payTypeValue;
    @ApiModelProperty("支付时间")
    private Date payDate;
    @ApiModelProperty("是否发货")
    private Boolean isSend;
    @ApiModelProperty("发货时间")
    private Date sendDate;
    @ApiModelProperty("收货地址id")
    private Long addressId;
    @ApiModelProperty("收货人")
    private GAddressVo gAddress;
    @ApiModelProperty("收货地址-省")
    private String positionProvince;
    @ApiModelProperty("收货地址-市")
    private String positionCity;
    @ApiModelProperty("收货地址-详情")
    private String positionDetails;
    @ApiModelProperty("物流号")
    private String logisticsNumber;
    @ApiModelProperty("买家留言")
    private String buyerMessage;
    @ApiModelProperty("创建日期")
    private Date createDate;
    @ApiModelProperty("订单商品信息")
    private List<GOrderCommodityVo> orderCommodityList;


}
